package com.res.share.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.res.share.model.ResReceive;
import com.baomidou.mybatisplus.extension.service.IService;
import com.res.share.model.dto.MessageModel;

import java.util.List;

/**
 * <p>
 * 接收者 服务类
 * </p>
 *
 * @author astupidcoder
 * @since 2021-10-28
 */
public interface IResReceiveService extends IService<ResReceive> {

    IPage<MessageModel> findReceiveBoxList(Page<MessageModel> page, Integer userId);

    Integer findReceiveBoxNums(Integer userId);

    void delreceiveMessageList(List<String> collect, Integer userId);

    Integer findNoReadMessageNums(Integer userId);
}
